<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>

<script>
    function getSum(num1, num2) {
        return num1 + num2;
    }
    //document.write(getSum(10, 20))

    function method(){
        alert("hello");
    }
    method();
</script>
</html>